package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.WhStockOutDelivery;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-02-27
 */
public interface WhStockOutDeliveryService extends IService<WhStockOutDelivery> {

    List<WhStockOutDelivery> listByOutCode(String outCode);

    List<WhStockOutDelivery> listByOutCodes(List<String> outCodes);

    void dropByOutCode(String outCode);

    WhStockOutDelivery getByOutCodeAndType(String outCode, int type);

    // 是否有发货仓库id
    boolean haveDeliveryWareHouse(Long deliveryWareHouseId);

    boolean saveBean(WhStockOutDelivery data);
}
